package display;

import it.unibo.is.interfaces.IOutputView;

/**
 * @author Stefano&Davide
 * @version 1.0
 */

public class DisplayViewOdometer extends DisplayOdometer{

	protected IOutputView stdOut;
	
	public DisplayViewOdometer(IOutputView env) {
		super(null);
		stdOut=env;
	}
	
	@Override
	protected void configure() {
	}
	
	@Override
	protected void showVal(String v) {
		stdOut.addOutput(v);
	}
	
	@Override
	public String getCurValToShow() {
		return stdOut.getCurVal();
	}

}
